import request from '../utils/request'


export function add(data) {
  return request({
    url: '/workList/add',
    method: 'post',
    data: data,
  })
}
export function getList(data) {
  return request({
    url: '/workList/list',
    method: 'post',
    data: data,
  })
}
export function del(data) {
  return request({
    url: '/workList/del',
    method: 'post',
    data: data,
  })
}
export function edit(data) {
  return request({
    url: '/workList/edit',
    method: 'post',
    data: data,
  })
}
